﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;

/// <summary>
/// Summary description for Formula
/// </summary>
public class Formula
{
    public DBInterface dbI;
	public Formula(int propertyID)
	{
        dbI = new DBInterface(propertyID);
	}
    
    public string GetRegularEstimate()
    {
        List<string> pDetails = dbI.GetPropertyDetails();
        List<string> dAmenities = dbI.GetNearestAmenities();
        string userAppraisal = dbI.GetUserAppraisedValue();
        return userAppraisal;
    }

    public string GetDistressedEstimate()
    {
        throw new NotImplementedException();
    }
}
